package com.kylin.order.api.dto.resp;

import com.kylin.coupon.api.dto.resp.CouponRespDTO;
import com.kylin.marketing.api.dto.resp.MarketingBoardRespDTO;
import com.kylin.merchant.api.dto.resp.MerchantLiteRespDTO;
import com.kylin.user.api.dto.resp.UserAddressRespDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 检出下单信息响应结果
 * @author Damon S.
 * @version v1.0.1
 * @date 2019年11月05日 17:01
 */
@Data
@NoArgsConstructor
@ApiModel(value = "检出下单信息响应结果")
public final class CheckoutOrderRespDTO implements Serializable {

    @ApiModelProperty(value = "优惠券")
    private CouponRespDTO coupon;

    @ApiModelProperty(value = "卖家")
    private MerchantLiteRespDTO merchant;

    @ApiModelProperty(value = "运费")
    private FreightRespDTO freight;

    @ApiModelProperty(value = "订单项")
    private MarketingBoardRespDTO item;

    @ApiModelProperty(value = "配送地址")
    private UserAddressRespDTO address;

    public static class FreightRespDTO {

    }
}
